package com.eian.boot.rabbit.common.constant;

/**
 * 延迟级别，单位毫秒
 */
public final class DelayLevel {
    /**
     * 1秒
     */
    public static final long ONE_SECOND = 1000;
    /**
     * 5秒
     */
    public static final long FIVE_SECONDS = 5 * ONE_SECOND;
    /**
     * 10秒
     */
    public static final long TEN_SECONDS = 10 * ONE_SECOND;
    /**
     * 30秒
     */
    public static final long THIRTY_SECONDS = 30 * ONE_SECOND;
    /**
     * 1分钟
     */
    public static final long ONE_MINUTE = 60 * ONE_SECOND;
    /**
     * 5分钟
     */
    public static final long FIVE_MINUTES = 5 * ONE_MINUTE;
    /**
     * 10分钟
     */
    public static final long TEN_MINUTES = 10 * ONE_MINUTE;
    /**
     * 30分钟
     */
    public static final long THIRTY_MINUTES = 30 * ONE_MINUTE;
    /**
     * 1小时
     */
    public static final long ONE_HOUR = 60 * ONE_MINUTE;
    /**
     * 2小时
     */
    public static final long TWO_HOURS = 2 * ONE_HOUR;
    /**
     * 12小时
     */
    public static final long TWELVE_HOURS = 12 * ONE_HOUR;
    /**
     * 1天
     */
    public static final long ONE_DAY = 24 * ONE_HOUR;
    /**
     * 1周
     */
    public static final long ONE_WEEK = 7 * ONE_DAY;
    /**
     * 1月（按30天计算）
     */
    public static final long ONE_MONTH = 30 * ONE_DAY;

    private DelayLevel() {
    }
}
